package top.igotcha.chapter.chapter7.ThreadPoolExecutor01;

/**
 * @author Gotcha
 * @date 2021/3/12
 * @describe 拒绝策略
 */
@FunctionalInterface //拒绝策略
public interface RejectPolicy<T> {
    void reject(BlockingQueue<T> queue,T task);
}
